package com.blockmeta.bbs.businesslibrary.eventbus;

/**
 * @author AirThor
 * @date 2020/2/20.
 */
public class IMMsgCountEvent {
    private int mMsgCount = 0;

    private static class INSTANCE{
        private static IMMsgCountEvent mInstance = new IMMsgCountEvent();
    }
    public static IMMsgCountEvent getInstance() {
        return INSTANCE.mInstance;
    }

    private IMMsgCountEvent() {
    }

    public IMMsgCountEvent setMsgCount(int msgCount) {
        mMsgCount = msgCount;
        return this;
    }

    public int getMsgCount() {
        return mMsgCount;
    }
}
